//
//  SDServerSwitchManager.h
//  SKinDiary
//
//  Created by pcyang on 16/6/26.
//  Copyright © 2016年 tencent. All rights reserved.
//

#import <Foundation/Foundation.h>

extern const int SERVER_RELEASE;
extern const int SERVER_PRERELEASE;
extern const int SERVER_DEBUG;

@interface ServerInfo : NSObject
@property(nonatomic,strong,readonly)NSString* serverAddress;
@property(nonatomic,strong,readonly)NSString* port;
@end

@interface SDServerSwitchManager : NSObject
@property(nonatomic,assign)int curServerType;

+(SDServerSwitchManager*)sharedInstance;
-(void)switchServer:(int)serverType;
-(ServerInfo*)getServerInfo;

-(NSString*)getServerUrl;
@end